#include "Vector.h"
#include <cmath>

Vector::Vector() : X(0.0), Y(0.0), Z(0.0)
{};

Vector::Vector(double x, double y, double z) : X(x), Y(y), Z(z)
{};

double Vector::GetX()
{
	return X;
}
double Vector::GetY()
{
	return Y;
}
double Vector::GetZ()
{
	return Z;
}

double Vector::GetVectorLength()
{
	return sqrt(X * X + Y * Y + Z * Z);
}